package com.parmal.proxy.configuration;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class HttpProxyConfiguration {

    @Value("${proxy.config.http.auth-header-key}")
    public String authHeaderKey;

    @Value("${proxy.config.handler.auth-handler-name}")
    public String httpAuthHandlerName;

    @Value("${proxy.config.server-port}")
    public int listenPort;

    @Value("${proxy.config.handler.forward-request-handler-name}")
    public String forwardRequestHandlerName;

    /**
     * boss线程数量
     */
    public int bossEventLoopGroupCount = 2;

}
